@extends('admin.layout.layout', ['row' => @$page])

@section('title', @$page['title'])

@section('contain')

    <div class="portlet">
        <div class="portlet-title">
            <div class="caption">
                <x-portlet-breadcrumb :page="$page"></x-portlet-breadcrumb>
            </div>
            <div class="actions">
                <div class="item">
                </div>
            </div>
        </div>

        <div>
            <form action="./" method="post" onsubmit="return checkVal(this)">
                @csrf
                <input type="text" name="_previous_" value="{{ request()->header('referer') }}" hidden>

                <div class="form-item form-s1">
                    <div class="form-label" required>质保ID</div>
                    <div class="form-input">
                        <input type="text" class="form-control" name="warranty_id" value="{{ old('warranty_id') }}">
                    </div>
                </div>
                <div class="form-item form-s1">
                    <div class="form-label" required>删除原因</div>
                    <div class="form-input">
                        <textarea type="text" class="form-control" name="reason" value="{{ old('reason') }}"></textarea>
                    </div>
                </div>
                <div class="mt-4 mx-3">
                    <button class="btn btn-primary">{{ ts('store') }}</button>
                </div>
            </form>
        </div>

    </div>

@endsection

@section('script')
    <script>

    </script>
@endsection
